import styled from "styled-components";

const OrderItemStyle = styled.div`
    background-color: #fff;
    margin: 10px;
    padding: 10px;
    border-radius: var(--page-border-radius);

    .org {
        display: flex;
        align-items: center;

        .org_logo {
            width: 5vw;
            aspect-ratio: 1;
            margin-right: 5px;
            border-radius: 5px;
            overflow: hidden;

            img {
                object-fit: cover;
                width: 100%;
                height: 100%;
            }
        }
    }

    .content {
        display: flex;
        align-items: center;
        min-height: 88px;
        margin-top: 5px;

        .content_left {
            border-radius: 5px;
            margin-right: 10px;
            flex: 0.8;
            height: 15vw;
            width: 15vw;
            overflow: hidden;
            box-shadow: 0 0 4px 0 #1a1a1a;;
            img {
                object-fit: cover;
                height: 100%;
                width: 100%;
            }
        }

        .content_middle {
            flex: auto;
            align-self: start;
            .productType {
                margin-top: 6vw;
            }
        }

        .content_right {
            flex: 1;
            text-align: right;
            align-self: start;

            .right_price {
                margin-bottom: 10px;
                color: #f74e4e;
            }

            .right_buyNum {
                text-align: right;
                font-size: 13px;
                color: #8d8a8a;
            }
        }
    }

    .adm-modal {
        .adm-center-popup-wrap {
            width: 90vw !important;
            max-width: 95vw !important;
        }

        .order_modal {
            .modal_item {
                margin: 15px 0;

                .modal_item_title {
                    margin-right: 5px;
                }

                .modal_item_data {
                    color: #9d9d9d;
                }
            }
        }
    }
`;

export default OrderItemStyle;
